@import "../font/goodtime/index.css";
.data-center-wrapper {
  background-image: url("~@/assets/img/map-bg1.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  user-select: none;
  flex-direction: column;
  i {
    font-style: normal !important;
  }
  .data-center-header {
    height: 60px;
    width: 100%;
    position: relative;
    .header-title {
      margin: 0 auto;
      font-size: 30px;
      line-height: 60px;
      overflow: hidden;
      font-weight: bold;
      text-align: center;
      color: #CBF3EF;
    }
    .header-sub-title {
      position: absolute;
      right: 20px;
      bottom: 5px;
      font-size: .5vw;
      color: #CBF3EF;
    }
    .header-power-off {
      cursor: pointer;
      position: absolute;
      left: 2%;
      line-height: 2;
      overflow: hidden;
      height: 100%;
      font-size: 30px;
      color: aquamarine;
    }
  }
  .data-center-body {
    height: calc(100vh - 60px);
    padding: 0 1vw 1vw 1vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    .data-center-top-block {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      box-sizing: border-box;
      height: 65%;
      width: 100%;
      padding-bottom: 1vw;
      .block-left-container {
        display: flex;
        width: 25%;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
        .dianliang-container {
          box-sizing: border-box;
          border: 1px solid rgba( 12, 255, 233, 1); // border-radius: 5px;
          padding: 6px;
          height: 20%;
          position: relative;
          .dianliang-content {
            box-sizing: border-box;
            padding: 10px;
            width: 100%;
            height: 100%;
            background-image: url("~@/assets/img/2.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
            position: relative;
            &:after {
              content: " ";
              position: absolute;
              width: 30%;
              height: 2px;
              background: rgb( 12, 255, 233);
              bottom: 0;
              left: 50%;
              transform: translateX(-50%);
            }
            .dianliang {
              box-sizing: border-box;
              display: flex;
              height: 100%;
              flex-direction: column;
              justify-content: space-between;
              padding: 1% 0;
              overflow: hidden;
              .top,
              .bottom {
                display: flex;
                flex-direction: row;
                color: #d4fff9;
                justify-content: space-between;
                align-items: center;
                padding: 0 1vw;
                .l {
                  font-size: .6vw;
                }
                .r {
                  font-size: 1.2vw;
                  font-weight: bold;
                }
              }
            }
          }
        }
        .fenlu-container {
          box-sizing: border-box;
          border: 1px solid rgba( 12, 255, 233, 1);
          padding: 6px; // border-radius: 5px;
          height: 25%;
          .fenlu-content {
            box-sizing: border-box;
            padding: 10px;
            width: 100%;
            height: 100%;
            background-image: url("~@/assets/img/2.png");
            background-size: 100% 100%;
            background-repeat: no-repeat;
            position: relative;
            &:after {
              content: " ";
              position: absolute;
              width: 30%;
              height: 2px;
              background: rgb( 12, 255, 233);
              bottom: 0;
              left: 50%;
              transform: translateX(-50%);
            }
            .fenlu {
              box-sizing: border-box;
              display: flex;
              height: 100%;
              flex-direction: column;
              justify-content: space-between;
              padding: 1% 0;
              overflow: hidden;
              .top,
              .middle,
              .bottom {
                display: flex;
                flex-direction: row;
                color: #d4fff9;
                justify-content: space-between;
                align-items: center;
                padding: 0 1vw;
                .l {
                  font-size: .6vw;
                }
                .r {
                  font-size: 1.2vw;
                  font-weight: bold;
                }
              }
            }
          }
        }
        .paiming-container {
          height: 47%;
          border-radius: 5px;
          border: 1px solid rgba( 12, 255, 233, 1);
          background-color: rgba( 17, 43, 68, .1);
          box-shadow: inset -2px -4px 62px 20px rgba( 63, 255, 156, .1);
          .paiming {
            box-sizing: border-box;
            padding: 6px;
            display: flex;
            padding: .7vw;
            height: 100%;
            flex-direction: column;
            .paiming-header {
              height: 20%;
              display: flex;
              align-items: center;
              >h1 {
                color: #D4FFF9;
                font-size: 1vw;
                margin-left: 10px;
              }
            }
            .paiming-body {
              height: 80%;
            }
          }
        }
      }
      .block-right-container {
        width: 54%;
        height: 100%;
        border-radius: 5px;
        border: 1px solid rgba( 12, 255, 233, 1);
        background-color: rgba( 17, 43, 68, .1);
        box-shadow: inset -2px -4px 62px 20px rgba( 63, 255, 156, .1);
        .map-container {
          box-sizing: border-box;
          position: relative;
          padding: 3px;
          .amap-logo,
          .amap-copyright {
            display: none !important;
          }
          .city-name {
            position: absolute;
            top: 2%;
            left: 5%;
            color: #fff;
            text-align: center;
            h2.title {
              font-size: 3vw;
              margin: 0;
              display: inline-block;
            }
            p.subtitle {
              display: inline-block;
              span {
                font-size: 1.5vw;
                margin-left: .3vw;
                font-family: ds-digitalnormal;
              }
            }
          }
        }
      }
      /* 实时功率top3*/
      .block-middle-container {
        width: 20%;
        height: 100%;
        .shishi-container {
          display: flex;
          width: 100%;
          height: 100%;
          flex-direction: column;
          justify-content: space-between;
          .shishi-top-text {
            box-sizing: border-box;
            padding: 16px;
            height: 40%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border-radius: 5px;
            border: 1px solid rgba( 12, 255, 233, 1);
            background-color: rgba( 17, 43, 68, .1);
            box-shadow: inset -2px -4px 62px 20px rgba( 63, 255, 156, .1);
            .text {
              display: flex;
              flex-direction: row;
              color: #d4fff9;
              justify-content: space-between;
              align-items: center;
              padding: 0 1vw;
              .l {
                font-size: .6vw;
              }
              .r {
                font-size: 1.2vw;
                font-weight: bold;
              }
            }
          }
          .shishi-bottom-chart {
            box-sizing: border-box;
            height: 57%;
            border-radius: 5px;
            border: 1px solid rgba( 12, 255, 233, 1);
            background-color: rgba( 17, 43, 68, .1);
            box-shadow: inset -2px -4px 62px 20px rgba( 63, 255, 156, .1);
            .chart-header {
              height: 20%;
              display: flex;
              align-items: center;
              >h1 {
                color: #D4FFF9;
                font-size: 1vw;
                margin-left: 10px;
                >span {
                  font-size: .5vw;
                  margin-left: 5px;
                  color: #00FFBB;
                }
              }
            }
            .chart-body {
              height: 80%;
            }
          }
        }
      }
    }
    .data-center-bottom-block {
      height: 35%;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      .block {
        box-sizing: border-box;
        width: 50%;
        height: 100%;
        border: 1px solid rgba( 12, 255, 233, 1);
        padding: 6px;
        border-radius: 5px;
        &.fenxi-container {
          margin-right: .5vw;
          display: flex;
          flex-direction: column;
          .fenxi-header {
            height: 20%;
            display: flex;
            align-items: center;
            >h1 {
              color: #D4FFF9;
              font-size: 1vw;
              margin-left: 10px;
              >span {
                font-size: .5vw;
                margin-left: 5px;
                color: #00FFBB;
              }
            }
          }
          .fenxi-body {
            height: 80%;
          }
        }
        &.shijian-container {
          margin-left: .5vw;
          display: flex;
          flex-direction: column;
          .shijian-header {
            height: 13%;
            display: flex;
            align-items: center;
            >h1 {
              color: #D4FFF9;
              font-size: 1vw;
              margin-left: 10px;
              >span {
                font-size: .5vw;
                margin-left: 5px;
                color: #00FFBB;
              }
            }
          }
          .shijian-body {
            padding: 0 .5vw;
            box-sizing: border-box;
            height: 87%;
            overflow: hidden;
            .shijian-table {
              width: 100%;
              >dl {
                width: 100%;
                overflow: hidden;
                margin: 0 auto;
                color: #7C7C7C;
                z-index: 1000;
                dd {
                  &:nth-child(1) {
                    width: 17%;
                  }
                  &:nth-child(2) {
                    width: 23%;
                  }
                  &:nth-child(3) {
                    width: 20%;
                  }
                  &:nth-child(4) {
                    width: 20%;
                  }
                  &:nth-child(5) {
                    width: 20%;
                  }
                  height: 30px;
                  line-height: 30px;
                  float: left;
                  text-align: center;
                  border-bottom: 1px solid rgba( 12,
                  255,
                  233,
                  1);
                  ;
                  color: rgba( 12,
                  255,
                  233,
                  1);
                  ;
                }
              }
              .marquee {
                overflow: hidden;
                ul {
                  height: calc(100% - 30px);
                  li {
                    width: 100%;
                    height: 38px;
                    line-height: 38px;
                    text-align: center;
                    font-size: 12px;
                    color: #fff;
                    border-bottom: 1px dashed #aaa;
                    &:first-child {
                      margin-top: 0px;
                      transition: margin-top .8s;
                    }
                    >div {
                      height: 100%;
                      overflow: hidden;
                      white-space: nowrap;
                      text-overflow: ellipsis;
                      float: left;
                      &:nth-child(1) {
                        width: 17%;
                      }
                      &:nth-child(2) {
                        width: 23%;
                      }
                      &:nth-child(3) {
                        width: 20%;
                      }
                      &:nth-child(4) {
                        width: 20%;
                      }
                      &:nth-child(5) {
                        width: 20%;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    .bordered {
      position: relative;
      >span {
        position: absolute;
        border-color: #0bffe9;
        border-style: solid;
        width: 30px;
        height: 16px;
        &:nth-child(1) {
          top: -2px;
          left: -2px;
          border-width: 3px 0px 0px 3px;
        }
        &:nth-child(2) {
          right: -2px;
          top: -2px;
          border-width: 3px 3px 0px 0px;
        }
        &:nth-child(3) {
          bottom: -2px;
          left: -2px;
          border-width: 0px 0px 3px 3px;
        }
        &:nth-child(4) {
          right: -2px;
          bottom: -2px;
          border-width: 0 3px 3px 0;
        }
      }
    }
  }
}
